﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using DaphneTranslatorWPF.ViewModel;
using DaphneTranslator.BusinessLogic;

namespace DaphneTranslatorWPF.ViewModel
{
    public class MainWindowViewModel: INotifyPropertyChanged
    {
        public MainWindowViewModel()
        {
            // initiaze culture tree
            TreeControlViewModel = new LanguageTreeControlViewModel();
            CultureCollection col = new CultureCollection();
            TreeControlViewModel.SetCultureCollection(col);
        }

        public LanguageTreeControlViewModel TreeControlViewModel
        { get; set; }

        public string PrimaryCultureCode
        { get; set; }


        public event PropertyChangedEventHandler PropertyChanged;

    }
}
